RRB-Trees: Efficient Immutable Vectors

نویسندگان

  • Phil Bagwell
  • Tiark Rompf
چکیده

Immutable vectors are a convenient data structure for functional programming and part of the standard library of modern languages like Clojure and Scala. The common implementation is based on wide trees with a fixed number of children per node, which allows fast indexed lookup and update operations. In this paper we extend the vector data type with a new underlying data structure, Relaxed Radix Balanced Trees (RRB-Trees), and show how this structure allows immutable vector concatenation, insert-at and splits in O(logN) time while maintaining the index, update and iteration speeds of the original vector data structure.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Attenuation of Marek's disease virus by deletion of open reading frame RLORF4 but not RLORF5a.

Marek's disease (MD) in chickens is caused by the alphaherpesvirus MD virus (MDV) and is characterized by the development of lymphoblastoid tumors in multiple organs. The recent identification and cloning of RLORF4 and the finding that four of six attenuated strains of MDV contained deletions within RLORF4 suggested that it is involved in the attenuation process of MDV. To assess the role of RL...

متن کامل

Generalized Construction of Scalable Concurrent Data Structures via Relativistic Programming

We present relativistic programming, a concurrent programming model based on shared addressing, which supports efficient, scalable operation on either uniform shared-memory or distributed sharedmemory systems. Relativistic programming provides a strong causal ordering property, allowing a series of read operations to appear as an atomic transaction that occurs entirely between two ordered write...

متن کامل

Hawaii's healthy start home visiting program: determinants and impact of rapid repeat birth.

OBJECTIVE Healthy People 2010 calls for reductions in rapid repeat births (RRBs), defined as births occurring within 24 months after a previous birth for women of all ages, and prevention of repeat births during adolescence, regardless of the birth interval. Home visiting has been promoted as a mechanism to prevent child abuse and neglect and to improve pregnancy outcomes. This study aims to as...

متن کامل

Rancid Rice Bran Affects Growth Performance and Pork Quality in Finishing Pigs

Two experiments were conducted to evaluate the feeding value of rancid rice bran in finishing pigs. In exp. 1, fresh (FRB), rancid (RRB), pelleted and extruded rice bran were used to determine stability and nutrient digestibility. The free fatty acid (FFA) values of FRB and RRB were 8.2 and 15.3%, respectively. Some of the FRB was pelleted (70°C) or extruded (110°C). In exp. 2, a total of 48 pi...

متن کامل

Faster Concurrent Range Queries with Contention Adapting Search Trees Using Immutable Data

The need for scalable concurrent ordered set data structures with linearizable range query support is increasing due to the rise of multicore computers, data processing platforms and in-memory databases. This paper presents a new concurrent ordered set with linearizable range query support. The new data structure is based on the contention adapting search tree and an immutable data structure. E...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012